<template>
    <div>
        组件1= form表单
        <input type="text">
        <button>提交表单</button>
    </div>
</template>

<script>
import axios from 'axios';

export default {
    data() {
        return {
        }
    },
    created() {
        console.log('son1-created');

    },
    activated() {
        console.log('son1-activated');
        axios.get('https://api.i-lynn.cn/college').then(res => {
            console.log(res);
        })
    },
    deactivated() {
        console.log('son1-deactivated');
    },
    unmounted() {
        console.log('son1-unmounted');
    }
}
</script>
<style scoped></style>